<?php

namespace common\service;


use common\model\SystemNotifyMessageDetailModel;

class SystemNotifyMessageDetailService
{


    /**
     * 批量更新详情的解决状态
     * @param $filter
     * @param $isSolve
     * @return bool
     * @throws \think\Exception
     */
    public function updateSolveStatus($filter, $isSolve)
    {
        return model(SystemNotifyMessageDetailModel::class)->where($filter)->save(['is_solve' => $isSolve]);
    }
}